← Back to issue list

`snapcraft metrics` fails for `lotus`

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1988787
Type
issue
State
open
Author
~ianconsolata
Labels
Created
2022-09-05 23:33:35.524876+00:00
Updated
2022-09-05 23:33:35.524876+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

We operate two snaps, `lotus-filecoin` and `lotus`. While trying to collect metrics on the usage of each, we discovered that `snapcraft metrics` 500s, but only for the `lotus` project. This seems to hold true no matter which metrics we request -- all of the `lotus-filecoin` requests succeed, and none of the `lotus` ones do. I'm not sure if this is related, but for some reason the `lotus` snap doesn't show up in the list of "my snaps" on https://snapcraft.io/snaps, only the `lotus-filecoin` one. Output: ❯ snapcraft metrics lotus-filecoin --name installed_base_by_channel --format json { "buckets": [ "2022-09-04" ], "metric_name": "installed_base_by_channel", "series": [ { "currently_released": true, "name": "edge", "values": [ 20 ] }, { "currently_released": true, "name": "stable", "values": [ 41 ] } ], "snap_id": "1vzTBhup6bI9eocqFz93rMQjrC2qQvbg", "status": "OK" } ❯ snapcraft metrics lotus --name installed_base_by_channel --format json The Snap Store encountered an error while processing your request: Internal Server Error (code 500). The operational status of the Snap Store can be checked at https://status.snapcraft.io/ ❯ snapcraft --version snapcraft, version 5.0

Evaluation history

No evaluation history available.